package com.yangwei.examination.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yangwei.examination.user.pojo.Teacher;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Paper implements Serializable { //用于深度拷贝
    @TableId(type = IdType.AUTO)
    private Long Id;
    private String paperTitle;
    private String paperDesc;
    private String paperImg;
    private String paperStatus;
    @TableField(exist = false)
    private List<PaperQuestion> paperQuestionList;
    @TableField(exist = false)
    private PaperInfo paperInfo;
    //改卷老师
    @TableField(exist = false)
    private Teacher teacher;
    @TableField(exist = false)
    private List<CorrectAnswerPaperInfo> correctAnswerPaperInfo;


}
